#include "a.h"
#include <QThread>
#include <QDebug>

A::A(int val, QObject *parent) : QObject(parent),
    m_a(val)
{

}

void A::do_start()
{
    qDebug() << __func__ << __LINE__ << " Pid: " << QThread::currentThreadId() << " Val:" << m_a;
//    sleep(1);
}

void A::do_finish()
{
    qDebug() << __func__ << __LINE__ << " Pid: " << QThread::currentThreadId() << " Val:" << m_a;
}
